package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 小程序banner管理
 * </p>
 *
 * @author baiqiang
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "MiniBanner对象", description = "小程序banner管理")
public class MiniBanner implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 奖励类型：快乐贝 */
	public static final String CLICKRE_WARD_TYPE_GOLD = "1";
	/** 奖励类型：VIP */
	public static final String CLICKRE_WARD_TYPE_VIP = "2";

	/** VIP 奖励单位：年 */
	public static final String DURATION_TYPE_YEAR = "1";
	/** VIP 奖励单位：月 */
	public static final String DURATION_TYPE_MON = "2";
	/** VIP 奖励单位：日 */
	public static final String DURATION_TYPE_DAY = "3";

	@ApiModelProperty(value = "主键 : 主键")
	@TableId(value = "id", type = IdType.UUID)
	private String id;

	@ApiModelProperty(value = "标题 : 标题信息")
	private String title;

	@ApiModelProperty(value = "图片URL")
	private String imgUrl;

	@ApiModelProperty(value = "大图URL")
	private String imgLargeUrl;

	@ApiModelProperty(value = "链接")
	private String link;

	@ApiModelProperty(value = "跳转方式 : 1外部2内部3无")
	private String linkMethod;

	@ApiModelProperty(value = "排序")
	private Integer sort;

	@ApiModelProperty(value = "状态 : 0启用 1禁用")
	private String status;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "类型位置 : 1首页2作业3比赛4精彩活动5免费资料6宣传(2)7悬浮分享8预设模板")
	private String categoryId;

	@ApiModelProperty(value = "模式 : 0固定1自定义")
	private String clickMode;

	@ApiModelProperty(value = "奖励类型 : 0无1欢乐币2VIP")
	private String clickRewardType;

	@ApiModelProperty(value = "奖励模式 : 0无限1固定1次2组内一次")
	private String rewardMethod;

	@ApiModelProperty(value = "奖励组")
	private String rewardGroup;

	@ApiModelProperty(value = "类型 : 1年2月3日")
	private String durationType;

	@ApiModelProperty(value = "期限值")
	private Integer durationTypeValue;

	@ApiModelProperty(value = "删除标记 : 0-正常，1-删除")
	private String delFlag;

	@ApiModelProperty(value = "创建人 : 创建人")
	private String createUser;

	@ApiModelProperty(value = "创建时间 : 创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty(value = "更新人 : 更新人")
	private String updateUser;

	@ApiModelProperty(value = "更新时间 : 更新时间")
	private LocalDateTime updateTime;

}
